home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / GLX / basics / README < prev   
Encoding:
Text File  |  1994-08-02  |  2.7 KB  |  70 lines

  1.  
  2.                    basic Motif-based GLX example programs
  3.  
  4.  
  5.       glwidget:
  6.                basic GL widget 
  7.                demonstrates:
  8.                - tieing an object to the movement of the mouse
  9.  
  10.       glwidget2:
  11.                GL widget and a work procedure
  12.                demonstrates:
  13.                - automatic animation of a cube 
  14.                - a Stop(/Start) button widget
  15.  
  16.       gloverlay: 
  17.                another overlay planes program extended from glwidget2.
  18.                demonstrates:
  19.                - drawing a red grid in the overlay planes
  20.                - rotating a rainbox cube in the standard planes
  21.                  via a rotate button widget
  22.       
  23.       cmapov:  
  24.                demos overlay planes usage--press LEFTMOUSE to move the bottom
  25.                row of cubes (normal planes) so they are under the top row of
  26.                cubes (overlay planes).  
  27.                demonstrates:
  28.                - using custom colormaps for the normal and overlay buffers
  29.                - moving things with the mouse
  30.  
  31.       pick:
  32.                mixed model program implementing GL picking
  33.  
  34.       kbecho:
  35.                keyboard events echoed-to-stdout program automatically gets
  36.                keyboard events when the cursor is over it the window.  You 
  37.                don't need to click in the window or tab to it, though it 
  38.                can be setup this way.
  39.                demonstrates:
  40.                - how to get continuous pointer motion events 
  41.                  for a gl widget
  42.                - how to get keyboard events for a gl widget 
  43.                  in a widget heirarchy
  44.                - how to map most keyboard keys to an appropriate 
  45.                  string representation
  46.       
  47.       kbexpl:
  48.                keyboard events echoed-to-stdout program that follows the 
  49.                correct motif style guide of forcing the user to click in 
  50.                the gl widget with LEFTMOUSE for it to get keyboard focus.  
  51.                Tab keys will be lost though as motif uses these to move 
  52.                from tab group to tab group.
  53.                demonstrates:
  54.                - how to get continuous pointer motion events 
  55.                  for a gl widget
  56.                - how to get keyboard events for a gl widget 
  57.                  in a widget heirarchy
  58.                - how to map most keyboard keys to an appropriate 
  59.                  string representation
  60.  
  61.       macx:
  62.                implementation of a hypothetical x server running on a mac 
  63.                which happens to support a 24 bit TrueColor visual
  64.                demonstrates:
  65.                - multiple server connections
  66.                - placing apps in non-default visuals
  67.                - workprocs
  68.                - working with XImages
  69.       
  70.